package me.wangqu.weiyouqu.repository;

import me.wangqu.weiyouqu.domain.CaptchaImage;

import org.springframework.data.jpa.repository.*;

import java.util.List;
import java.util.Optional;

/**
 * Spring Data JPA repository for the CaptchaImage entity.
 */
@SuppressWarnings("unused")
public interface CaptchaImageRepository extends JpaRepository<CaptchaImage,Long> {
    Optional<CaptchaImage> findOneByPhone(String phone);
}
